package main

import (
	"github.com/go-redis/redis"
	"go-graduation/service/cmd/server/rpc"
)

var Cache *redis.Client

func init() {
	//Cache = cmds.RedisClient()
	//res, err := Cache.Set("test", "11", config.Redis.CommonExpiration).Result()
	//fmt.Println(res, err)
	//
	//res, err = Cache.Get("test").Result()
	//fmt.Println(res, err)
}

func main() {

	grpcServerPort := ":50051"
	rpc.GrpcServerStart(grpcServerPort)

	//httpPort := ":8081"
	//server.HttpServerStart(grpcServerPort)
}
